using System;
using System.Collections.Generic;
using System.Text;

namespace FE
{
    public class WoodsTile : Tile
    {
        public WoodsTile ()
        {
            name = "Woods";
            evasion = 20;
            defense = 1;
        }

        public override int GetMoveConsumption(Unit unit)
        {
            if (unit.Type == Unit.UnitType.Cavalier) return 3;
            else if (unit.Type == Unit.UnitType.Infantry) return 2;
            else return 1;
        }
        public override bool IsPassable(Unit unit)
        {
            return true;
        }

    }
}
